public class EtatBuffer{
	private String textPrincipal;
	private String textBuffer;
	private EtatBuffer etatSuivant;
	private EtatBuffer etatPrecedent;
	
	public EtatBuffer(String textP, String TextB)
	{
		this.textPrincipal = textP;
		this.textBuffer = TextB;
	}
	
	public String getTextPrincipal()
	{
		return textPrincipal;	
	}
	
	public String getTextBuffer()
	{
		return textBuffer;	
	}
	
	public EtatBuffer getSuivant()
	{
		return etatSuivant;
	}
	
	public EtatBuffer getPrecedent()
	{
		return etatPrecedent;
	}

	public void setSuivant(EtatBuffer m)
	{
		etatSuivant = m;
	}
	
	public void setPrecedent(EtatBuffer m)
	{
		etatPrecedent = m;
	}
		
}